//
//  LCTabBar.h
//  04 -自定制tabBar
//
//  Created by 千锋 on 16/5/7.
//  Copyright (c) 2016年 千锋. All rights reserved.
//

#import <UIKit/UIKit.h>


//制定协议
@protocol LCTableBarDelegate <NSObject>



//改变视图控制器
- (void)changeCurrentController;


@end


/**委托类*/
@interface LCTabBar : UIView

@property(nonatomic,strong)UITabBarItem *item;

//代理
@property(nonatomic,weak)id<LCTableBarDelegate>delegate;


//选中下标
@property(nonatomic,assign)NSInteger selectedIndex;

//中间的视图
@property(nonatomic,strong)UIView *centerView;

@end
